package com.zis.auction.dao;

import com.zis.auction.model.AuctUserFocus;
import org.beetl.sql.core.annotatoin.SqlStatement;
import org.beetl.sql.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AuctFocusDao extends BaseMapper<AuctUserFocus> {


    @SqlStatement(params = "ausId,page,pageSize")
    List<AuctUserFocus> findByAusId(String ausId, Integer page, Integer pageSize);

    @SqlStatement(params = "bussId,ausId")
    void deleteByBussAndAus(String bussId, String ausId);
}
